package com.ziyun.erp.modules.promotion.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户优惠券兑换表
 * 
 * @author jiangli
 * @email 
 * @date 2018-11-30 14:44:29
 */
@TableName("user_coupon_exchange")
@Getter
@Setter
public class UserCouponExchangeEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId
	private Long id;
	/**
	 * 优惠券兑换码
	 */
	private Long exchangeCode;
	/**
	 * 优惠券id
	 */
	private String couponIds;
	/**
	 * 用户id
	 */
	private Integer userId;
	/**
	 * 是否被使用过
	 */
	private Boolean used;
	/**
	 * 创建时间
	 */
	private Date createDate;
	/**
	 * 兑卷时间
	 */
	private Date exchangeDate;
	/**
	 * 失效
	 */
	private Boolean disabled;

}
